package o;

import com.huawei.appgallery.serverreqkit.api.bean.ResponseBean;
import com.huawei.appgallery.serverreqkit.api.listener.IServerCallBack;
import com.huawei.appmarket.service.appsyn.bean.GetSyncAppRes;

class dtz$5 implements IServerCallBack {
    final /* synthetic */ dtz ˏ;

    dtz$5(dtz o_dtz) {
        this.ˏ = o_dtz;
    }

    public void prePostResult(BaseRequest o_cvu, ResponseBean responseBean) {
    }

    public void notifyResult(BaseRequest o_cvu, ResponseBean responseBean) {
        int responseCode = responseBean.getResponseCode();
        Logger.ˎ("APP_SYN", dtz.ʻ() + " processDownload responseCode=" + responseCode + " rtnCode=" + responseBean.getRtnCode_());
        if (responseCode == 0) {
            GetSyncAppRes getSyncAppRes = (GetSyncAppRes) responseBean;
            if (getSyncAppRes.getRtnCode_() == 0) {
                dty.ॱ().ˊ(getSyncAppRes.ˎ());
                dtz.ˎ(this.ˏ);
            }
        }
    }
}
